home *** CD-ROM | disk | FTP | other *** search
/ CICA 1993 April / CICA MS Windows - April 1993.iso / bbs / wildcat / ins.bat < prev    next >
DOS Batch File  |  1993-04-19  |  1KB  |  32 lines

  1. @echo       Which cdrom drive letter?
  2. set cdrom=k:
  3. @echo       What is your data directory name?
  4. @echo       (The default is 'data', which I use.)
  5. set datadir=data
  6. @echo       If these aren't right, ^c and edit this file.
  7. pause
  8. rem ---------------- below shouldn't need edited -----------------
  9. @echo Making backup files.
  10. copy %datadir%\allfiles.dat %datadir%\allfiles.da2
  11. copy %datadir%\allfiles.ix  %datadir%\allfiles.ix2
  12. copy filearea.dat filearea.da2
  13. copy makewild.dat makewild.da2
  14. %cdrom%\bbs\wildcat\install %1
  15. if not errorlevel 1 goto ok
  16. @echo  Error exit -- restoring original datafiles
  17. copy filearea.dat filearea.err
  18. copy filearea.da2 filearea.dat
  19. copy makewild.dat makewild.err
  20. copy makewild.da2 makewild.dat
  21. goto end
  22. :ok
  23. @echo Check the file areas with makewild.  (Just to see what happened.)
  24. pause
  25. makewild
  26. @echo The install program created a batch file called 'install2'.
  27. @echo You can change wcfiles options by editing this file.
  28. @echo Then execute the batch file by typeing 'install2'.
  29. @echo When you are done, you can check wcfile.log to see exactly what wcfile
  30. @echo thinks happened.
  31. :end
  32.